<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-spring4-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
	<script type="text/javascript" src="/deng/include/include-css.js"></script>
	<title>平台通知</title>
	<style type="text/css">
		#xtNotifyReceiverDatatables{
			width:100% !important;
		}
	</style>
</head>
<body>
	<div class="card-box">
		<ul id="myTab" class="nav nav-tabs nav nav-tabs tabs-bordered">
			<li class="active">
				<a href="#tab0" data-toggle="tab" aria-expanded="false" class="nav-link active show">
					<i class="glyphicon glyphicon-pencil"></i>我发送的通知
				</a>
			</li>
			<li>
				<a href="#tab1" data-toggle="tab" aria-expanded="false" class="nav-link">
					<i class="glyphicon glyphicon-indent-left"></i>我收到的通知
				</a>
			</li>
		</ul>
		<div id="myTabContent" class="tab-content">
			<div  class="tab-pane active show" id="tab0">
				<div class="portlet box green" style="margin-bottom: 5px">
			        <div class="portlet-body form">
			        	<form method="POST" id="searchForm" class="form-inline" style="padding: 5px 0px 5px 0px;"  onsubmit="search('datatables');return false;">
							<div class="form-group">
								<label>标题：</label>
								<input type="text" class="form-control" name="xt_notify_title" placeholder="请输入">
							</div>
								&nbsp;
							<a href="javascript:search('datatables')" class="btn btn-light-primary font-weight-bold mr-2">
								<span><i class="fa fa-search"></i><span>检&nbsp;&nbsp;索</span></span>
							</a>
							<a href="javascript:resetAll();" class="btn btn-light-success font-weight-bold mr-2">
								<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
							</a>
						</form>
			        </div>
			    </div>
				<div class="pull-left form-actions" style="margin-right:0px;margin-bottom: 5px">
					<a class="btn btn-light-primary font-weight-bold mr-2 m-btn m-btn--custom m-btn--icon" href="javascript:toXtNotifyAdd()">
						<span><i class="fa fa-pencil fa-lg"></i><span>创 建</span></span>
					</a>
					<button class="btn btn-light-danger m-btn m-btn--custom m-btn--icon" onclick="delXtNotify()">
						<span><i class="fa fa-times"></i><span>删 除</span></span>
					</button>
					<!--<a class="btn btn-light-warning font-weight-bold mr-2 m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;icon" href="javascript:search('datatables')">
						<span><i class="fa fa-spin fa-refresh m-r-5"></i><span>刷 新</span></span>
					</a>-->
			    </div>
				<table id="datatables" class="table table-bordered table-striped table-hover" style="white-space: nowrap; width: 99.9%">
					<thead>
						<tr>
							<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkall" /><span></span></label></th>
							<th>序号</th>
							<th>标题</th>
							<th>创建时间</th>
							<th>创建人</th>
							<th>操作</th>
						</tr>
					</thead>
				</table>
			</div>
			<div class="tab-pane " id="tab1">
				<div class="portlet box green" style="margin-bottom: 5px">
			        <div class="portlet-body form">
			        	<form method="POST" id="searchXtNotifyReceiverForm" class="form-inline" style="padding: 5px 0px 5px 0px;"  onsubmit="search('xtNotifyReceiverDatatables');return false;">
							<div class="form-group">
								<label>标题：</label>
								<input type="text" class="form-control" name="xt_notify_title" placeholder="请输入">
							</div>
								&nbsp;
							<a href="javascript:search('xtNotifyReceiverDatatables')" class="btn btn-light-primary font-weight-bold mr-2">
								<span><i class="fa fa-search"></i><span>检&nbsp;&nbsp;索</span></span>
							</a>
							<a href="javascript:resetAll('searchXtNotifyReceiverForm');" class="btn btn-light-success font-weight-bold mr-2">
								<span><i class="fa fa-repeat"></i><span>清空条件</span></span>
							</a>
						</form>
			        </div>
			    </div>
				<div class="pull-left form-actions" style="margin-right:0px;margin-bottom: 5px">
					<button class="btn btn-light-danger m-btn m-btn--custom m-btn--icon" onclick="delXtNotifyReceiver()">
						<span><i class="fa fa-times"></i><span>删 除</span></span>
					</button>
					<!--<button class="btn btn-secondary m-btn m-btn&#45;&#45;custom m-btn&#45;&#45;label-warning m-btn&#45;&#45;bolder m-btn&#45;&#45;uppercase" onclick="search('xtNotifyReceiverDatatables')">
						<span><i class="fa fa-spin fa-refresh m-r-5"></i><span>刷 新</span></span>
					</button>-->
			    </div>
			    <table id="xtNotifyReceiverDatatables" class="table table-bordered table-striped table-hover" style="white-space: nowrap; width: 99.9%">
					<thead>
						<tr>
							<th><label class="mt-checkbox mt-checkbox-single mt-checkbox-outline"><input type="checkbox" class="checkXtNotifyReceiverall" /><span></span></label></th>
							<th>序号</th>
							<th>标题</th>
							<th>发送时间</th>
							<th>发送者</th>
							<th>操作</th>
						</tr>
					</thead>
				</table>
			</div>
		</div>
	</div>
</body>
<script type="text/javascript" src="/deng/include/include.js"></script>
<script type="text/javascript" src="/deng/view/sys/xt-notify/xt-notify-list.js"></script>
<script type="text/javascript" src="/deng/view/sys/xt-notify/xt-notify-receiver-list.js"></script>
</html>
